<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>QWebSocket客户端作为QWebChannel通信数据传输接口</title>
    <script src="./qwebchannel.js"></script>
    <script src="./channelClient.js"></script>
    <link rel="stylesheet" type="text/css" href="channelClient.css">
</head>
<body>
    <div>
        <h1>使用QWebSocket客户端作为<br/>QWebChannel通信数据传输接口</h1>
        <p>
            <textarea name="textShow" id="textShowId" cols="60" rows="10"></textarea>
        </p>
        <p>
            <input id="input"/> <button id="but_send" onclick="sendMessage()">发送</button>
        </p>
    </div>
</body>
</html>
